import 'package:flutter/material.dart';

class MyTitle extends StatelessWidget {
  var size;

  MyTitle(this.size);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: const EdgeInsets.all(15.0),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Text(
            '零点数字拼图',
            style: TextStyle(
              fontSize: 40.0,
              letterSpacing: 0.7,
              fontWeight: FontWeight.w600,
              color: Colors.white,
            ),
          ),
          Text(
            '一款有趣的拼图游戏',
            style: TextStyle(
              fontSize: 15.0,
              letterSpacing: 1.2,
              color: Colors.white,
            ),
          ),
        ],
      ),
    );
  }
}
